package main

import "fmt"

type test interface {
	tt()
}

type A struct {
	aa string
}

func (a A) tt() {
	fmt.Println(a.aa)
}

func main() {
	a := A{aa: "test"}
	bb(a)
}

func bb(in test) {
	in.tt()
}